<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jgcy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jgcy" data-rule="required" class="form-control" name="row[jgcy]" type="text" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zlr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zlr" data-rule="required" class="form-control" name="row[zlr]" type="text" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clr" data-rule="required" class="form-control" name="row[clr]" type="text" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zc1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zc1" data-rule="required" class="form-control" name="row[zc1]" type="text" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zc20')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zc20" data-rule="required" class="form-control" name="row[zc20]" type="text" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kpflag')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-kpflag" data-rule="required" class="form-control selectpicker" name="row[kpflag]">
                {foreach name="kpflagList" item="vo"}
                    <option value="{$key}" {in name="key" value="不控盘"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
